#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<assert.h>
char* my_strcpy(char*dest,char*source){
	char* p = dest;
	assert(dest && source);
	while (*dest++ = *source++) {
		;
	}
	return p;
}
int main()
{
	char arr1[10] = "hello";
	char arr2[10] = "world";
	strcpy(arr1, arr2);

	printf("%s\n%s", arr1,my_strcpy(arr1,arr2));
	return 0;
}